import request from '@/utils/request'

// 查询项目分配信息列表
export function listDealBfDistributionDeal(query) {
  return request({
    url: '/deal/dealBfDistributionDeal/list',
    method: 'get',
    params: query
  })
}

// 查询项目分配信息详细
export function getDealBfDistributionDeal(id) {
  return request({
    url: '/deal/dealBfDistributionDeal/' + id,
    method: 'get'
  })
}

// 保存项目分配信息
export function saveDealBfDistributionDeal(data) {
  return request({
    url: '/deal/dealBfDistributionDeal/save',
    method: 'post',
    data: data
  })
}

// 删除项目分配信息
export function delDealBfDistributionDeal(id) {
  return request({
    url: '/deal/dealBfDistributionDeal/' + id,
    method: 'delete'
  })
}

// 导出项目分配信息
export function exportDealBfDistributionDeal(query) {
  return request({
    url: '/deal/dealBfDistributionDeal/export',
    method: 'get',
    params: query
  })
}
